package com.menfan.saas.dao;

import java.util.List;

import com.menfan.saas.domain.MediaDetailEntity;
import com.menfan.saas.domain.MediaDetailEntityExample;
import org.apache.ibatis.annotations.Param;

public interface MediaDetailEntityMapper {
    int countByExample(MediaDetailEntityExample example);

    int deleteByExample(MediaDetailEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MediaDetailEntity record);

    int insertSelective(MediaDetailEntity record);

    List<MediaDetailEntity> selectByExampleWithBLOBs(MediaDetailEntityExample example);

    List<MediaDetailEntity> selectByExample(MediaDetailEntityExample example);

    MediaDetailEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MediaDetailEntity record,
                                 @Param("example") MediaDetailEntityExample example);

    int updateByExampleWithBLOBs(@Param("record") MediaDetailEntity record,
                                 @Param("example") MediaDetailEntityExample example);

    int updateByExample(@Param("record") MediaDetailEntity record, @Param("example") MediaDetailEntityExample example);

    int updateByPrimaryKeySelective(MediaDetailEntity record);

    int updateByPrimaryKeyWithBLOBs(MediaDetailEntity record);

    int updateByPrimaryKey(MediaDetailEntity record);
}